<?php bb_get_header(); ?>

<div class="bbcrumb"><a href="<?php bb_uri(); ?>"><?php bb_option('name'); ?></a> &raquo; <?php view_name(); ?></div>

<?php if ( $topics || $stickies ) : ?>
<table id="latest" role="main">
<tr>
	<th>话题</th>
	<th>作者</th>
	<th>回应</th>
	<th>最后回应</th>
</tr>
<?php if ( $stickies ) : foreach ( $stickies as $topic ) : ?>
   <tr>
    <td><span class="pl"><img alt="[置顶]" src="http://t.douban.com/pics/stick.gif"/></span>&nbsp;<a href="<?php topic_link(); ?>" title="<?php topic_title(); ?>"><?php topic_title(); ?></a></td> 
    <td nowrap="nowrap"><?php topic_author(); ?></td>
    <td nowrap="nowrap"><?php topic_posts(); ?></td>
    <td nowrap="nowrap" class="time"><?php topic_start_time();?></td>
   </tr>
<?php endforeach; endif; ?>
<?php if ( $topics ) : foreach ( $topics as $topic ) : ?>
       <tr>
         <td><a href="<?php topic_link(); ?>" title="<?php topic_title(); ?>"><?php topic_title(); ?></a></td> 
         <td nowrap="nowrap"><?php topic_author(); ?></td>
         <td nowrap="nowrap"><?php topic_posts(); ?></td>
         <td nowrap="nowrap" class="time"><?php topic_start_time();?></td>
        </tr>
<?php endforeach; endif; ?>
<?php endif; ?>
   
</table>

<p class="rss-link"><a href="<?php bb_view_rss_link(); ?>" class="rss-link"><?php _e('<abbr title="Really Simple Syndication">RSS</abbr> feed for this view'); ?></a></p>

<div class="nav">
<?php view_pages(); ?>
</div>
<?php //endif; ?>

<?php bb_get_footer(); ?>
